//export { default as tool } from './tool.config';
//export { attr, dragAttr } from './tool.config';

export const NS = {
    HTML : 'http://www.w3.org/1999/xhtml',
    MATH : 'http://www.w3.org/1998/Math/MathML',
    SE : 'http://svg-edit.googlecode.com',
    SVG : 'http://www.w3.org/2000/svg',
    XLINK : 'http://www.w3.org/1999/xlink',
    XML : 'http://www.w3.org/XML/1998/namespace',
    XMLNS : 'http://www.w3.org/2000/xmlns'
};

export const strokeAnimations = {
    style: `
<style type="text/css">
.stroke-forward-flow,.stroke-reverse-flow{stroke-dashoffset:1920;animation:forward-flow-key 10s linear infinite}@keyframes forward-flow-key{0%{stroke-dasharray:6,4}to{stroke-dasharray:8,4}}.stroke-reverse-flow{animation:reverse-flow-key 10s linear infinite}@keyframes reverse-flow-key{0%{stroke-dasharray:8,4}to{stroke-dasharray:6,4}}
</style>`,
    options: [
        {
            label: '无',
            value: ''
        },
        {
            label: '正向流动',
            value: 'stroke-forward-flow'
        },
        {
            label: '反向流动',
            value: 'stroke-reverse-flow'
        }
    ],
};